package com.njpi.stu.attendance.entity;

import lombok.AllArgsConstructor;
import lombok.Data;

/**
 *汇总数据
 */
@Data
@AllArgsConstructor
public class TotalData {

    //x轴数据
    private String[] labels;


    //数据
    private Integer[] data;


    Integer successApply;

    Integer failApply;

    Integer courseNu;

    public TotalData(Integer successApply, Integer failApply,Integer courseNu) {
        this.successApply = successApply;
        this.failApply = failApply;
        this.courseNu=courseNu;
    }

    public TotalData(String[] labels, Integer[] data) {
        this.labels = labels;
        this.data = data;
    }
}
